package com.zhenzhen.xszhcp.service;

import com.zhenzhen.xszhcp.model.Activity;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ActivityService {
    List<Activity> getActivityList(Map paramMap);

    List<Activity> getActivityByStudent(int sid);

    Activity getActivityById(int id);

    int insertActivity(Activity activity);

    int delActivity(int id);

    int upActivity(Activity activity);

    int delActivitybyStudent(int id);
}